package com.example.demo.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Transactional;

import com.example.demo.Dao.UserInfoDao;
import com.example.demo.pojo.UserInfo;
import com.example.demo.service.UserInfoService;
@Service
@Transactional(timeout = 30)
public class UserInfoServiceImpl implements UserInfoService {
    
	@Autowired
	UserInfoDao userInfoDao;
	
	@Override
	public List<Map<String, Object>> getUserAll() {
	
		return userInfoDao.getUserAll();
	
	}

}
